/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const policyRouter = {
  path: '/policy',
  component: Layout,
  redirect: '/policy/dynamic',
  name: 'Policy',
  meta: {
    title: '策略配置',
    icon: 'table'
  },
  
  children: [
    {
      path: 'dynamic',
      component: () => import('@/views/policy/dynamic'),
      name: 'dynamic',
      meta: {
        title: '动态网络'
      }
    },
    {
      path: 'jump',
      component: () => import('@/views/policy/jump'),
      name: 'jump',
      meta: {
        title: '网络路径'
      }
    },
    {
      path: 'trap',
      component: () => import('@/views/policy/trap'),
      name: 'trap',
      meta: {
        title: '诱捕服务'
      }
    },
    {
      path: 'confuse',
      component: () => import('@/views/policy/confuse'),
      name: 'confuse',
      meta: {
        title: '网络混淆'
      }
    },
    {
      path: 'secure',
      component: () => import('@/views/policy/secure'),
      name: 'secure',
      meta: {
        title: '安全检测'
      }
    },
    {
      path: 'acl',
      component: () => import('@/views/policy/acl'),
      name: 'acl',
      meta: {
        title: '访问控制'
      }
    },
    {
      path: 'trust',
      component: () => import('@/views/policy/trust'),
      name: 'trust',
      meta: {
        title: '白名单'
      }
    }
  ]
}
export default policyRouter
